package com.sekill.goods.service;

import com.sekill.goods.entity.Seckill;
import com.baomidou.mybatisplus.extension.service.IService;
import freemarker.template.TemplateException;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huhu
 * @since 2021-06-21
 */
public interface ISeckillService extends IService<Seckill> {

    //修改秒杀商品状态
    boolean updateSeckillStatus(Integer status,Long skuId);

    List<Seckill> getlist();

    void ftlToHtml() throws Exception;

    Seckill getbyids(Integer skuId) throws IOException, TemplateException;

    void ftlToHtml(Integer skuId) throws Exception;
}
